package cn.sx10.dao.impl;

import cn.sx10.dao.BaseDao;
import cn.sx10.dao.GradeDao;
import cn.sx10.model.Grade;
import cn.sx10.model.Student;

import java.util.List;

public class GradeControllerImpl extends BaseDao implements GradeDao {
    @Override
    public List<Grade> show() {
        String sql = "select * from grade ";
        return super.queryToList(Grade.class,sql);
    }
}
